/*
 * messaging.h
 *
 *  Created on: 20 Oca 2012
 *      Author: root
 */

#ifndef MESSAGING_ABSTRACT_H_
#define MESSAGING_ABSTRACT_H_



#include "message.h"


namespace androidplus {
namespace messaging{
class messaging_abstract {
public:
	messaging_abstract();
	virtual ~messaging_abstract();
	virtual int write_message(const message* msg)throw()=0;
	virtual int read_message(message** msg)throw()=0;
    virtual int fd()const=0;

};
}
} /* namespace AndroidPlus */
#endif /* MESSAGING_ABSTRACT_H_ */
